package com.sphd.education.info;

import org.litepal.crud.DataSupport;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2015/10/22.
 * id                   national varchar(32) not null,
 * name                 national varchar(25),
 * course_category      varchar(32),
 * description          varchar(255),
 * state                char(1),
 * class                varchar(32),
 * primary key (id)
 */
public class LessonInfo extends DataSupport implements Serializable {
    private int id;
    private int lesson_id;//课程id
    private String name;//课程名称
    private String course_category;//课程类别
    private String description;//课程计划也就是课程详情
    private int state;//状态
    private String banji;//班级
    //    private int flag;//历史记录的标志
    private int collectflag;//后台收藏的flag
    private String place;//上课地点
    private String schoolName;//学校名称
    private String schoolArea;//学校区域所在地
    private String period;//课时
    private String lessonPart;//当前阶段
    private String tuition;//课程价格
    private String realTuition;//最后的价格
    private HistoryInfo historyInfo;
    private String ads;//广告
    private String image;//课程图片路径
    private String beginTime;//历史课程中的开始时间
    private String endTime;//历史课程中的结束时间
    private String myEvalution;//历史课程中的“好评”“中评”“差评“
    private String myBack;//历史课程中我的反馈意见
    private String phone;//课程联系电话
    private String certificate;//可以获取的证书
    private String certificateDesc;//可以获取的证书的描述
    private String classSchedule;//课程计划每天几点上课
    private int schoolid;//课程对应的学校所需要的id
    private int appliedSize;//报名人数
    private int allSize;//预计招生人数
    private String teacherName;//任课老师的名字
    private int creatorId;//创建人的id
    private int tuitionStatus; //缴费状态 ： 0-未缴费 1-已缴费 2-不缴费
    private String anonymousType;   //0-不匿名，1-匿名
    private Date lessonDate;

    public Date getLessonDate() {
        return lessonDate;
    }

    public void setLessonDate(Date lessonDate) {
        this.lessonDate = lessonDate;
    }

    public int getCollectflag() {
        return collectflag;
    }

    public void setCollectflag(int collectflag) {
        this.collectflag = collectflag;
    }

    public int getAllSize() {
        return allSize;
    }

    public void setAllSize(int allSize) {
        this.allSize = allSize;
    }

    public int getAppliedSize() {
        return appliedSize;
    }

    public void setAppliedSize(int appliedSize) {
        this.appliedSize = appliedSize;
    }

    public int getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(int creatorId) {
        this.creatorId = creatorId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getSchoolid() {
        return schoolid;
    }

    public void setSchoolid(int schoolid) {
        this.schoolid = schoolid;
    }

    public String getAds() {
        return ads;
    }

    public void setAds(String ads) {
        this.ads = ads;
    }

    public String getSchoolArea() {
        return schoolArea;
    }

    public void setSchoolArea(String schoolArea) {
        this.schoolArea = schoolArea;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public String getClassSchedule() {
        return classSchedule;
    }

    public void setClassSchedule(String classSchedule) {
        this.classSchedule = classSchedule;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getCourse_category() {
        return course_category;
    }

    public String getTuition() {
        return tuition;
    }

    public void setTuition(String tuition) {
        this.tuition = tuition;
    }

    public void setCourse_category(String course_category) {
        this.course_category = course_category;
    }
//    public int getFlag() {
//        return flag;
//    }
//
//    public void setFlag(int flag) {
//        this.flag = flag;
//    }

    public int getLesson_id() {
        return lesson_id;
    }

    public void setLesson_id(int lesson_id) {
        this.lesson_id = lesson_id;
    }

    public HistoryInfo getHistoryInfo() {
        return historyInfo;
    }

    public void setHistoryInfo(HistoryInfo historyInfo) {
        this.historyInfo = historyInfo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRealTuition() {
        return realTuition;
    }

    public void setRealTuition(String realTuition) {
        this.realTuition = realTuition;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }


    public String getLessonPart() {
        return lessonPart;
    }

    public void setLessonPart(String lessonPart) {
        this.lessonPart = lessonPart;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getMyEvalution() {
        return myEvalution;
    }

    public void setMyEvalution(String myEvalution) {
        this.myEvalution = myEvalution;
    }

    public String getMyBack() {
        return myBack;
    }

    public void setMyBack(String myBack) {
        this.myBack = myBack;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getCertificateDesc() {
        return certificateDesc;
    }

    public void setCertificateDesc(String certificateDesc) {
        this.certificateDesc = certificateDesc;
    }

    public String getBanji() {
        return banji;
    }

    public void setBanji(String banji) {
        this.banji = banji;
    }

    public int getTuitionStatus() {
        return tuitionStatus;
    }

    public void setTuitionStatus(int tuitionStatus) {
        this.tuitionStatus = tuitionStatus;
    }

    public String getAnonymousType() {
        return anonymousType;
    }

    public void setAnonymousType(String anonymousType) {
        this.anonymousType = anonymousType;
    }
}
